package mahi.inheritance;

public class Parent {
	public String name="ABC";
	private int age;
	
	public void printname() {
		System.out.println(name);
			
	}
	
	private void printAge() {
		System.out.println(age);
			
	}
	
	public void test()
	{
		System.out.println("Parent test");
	}
	
}
